package cn.stylefeng.guns.modular.agv.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * AGV拣选库位表
 * </p>
 *
 * @author zhangzh
 * @since 2024-08-09
 */
@TableName("agv_storage_position")
@Data
public class AgvStoragePosition implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 库位编号前缀
     */
    @TableField("position_prefix")
    private String positionPrefix;

    /**
     * 库位编号
     */
    @TableField("position_number")
    private String positionNumber;

    /**
     * 库位编号
     */
    @TableField("apr_code")
    private String aprCode;

    /**
     * 拣选顺序
     */
    @TableField("select_ord")
    private Integer selectOrd;

    /**
     * 左右
     */
    @TableField("about")
    private String about;

    /**
     * 通道
     */
    @TableField("passageway")
    private String passageway;

    /**
     * 发货仓库id
     */
    @TableField("set_warehouse_id")
    private Long setWarehouseId;
    /**
     * agv取货点
     */
    @TableField("agv_pick")
    private String agvPick;


    @Override
    public String toString() {
        return "AgvStoragePosition{" +
        "id=" + id +
        ", positionPrefix=" + positionPrefix +
        ", positionNumber=" + positionNumber +
        ", selectOrd=" + selectOrd +
        ", about=" + about +
        ", passageway=" + passageway +
        ", setWarehouseId=" + setWarehouseId +
                ", agvPick=" + agvPick +
        "}";
    }
}
